﻿ using System;

namespace RapidRepository.Cache
{
    /// <summary>
    /// Cached entity.
    /// </summary>
    internal class CachedEntity
    {
        /// <summary>
        /// Gets or sets the entity id.
        /// </summary>
        /// <value>The entity id.</value>
        public Guid EntityId { get; set; }

        /// <summary>
        /// Gets or sets the entity.
        /// </summary>
        /// <value>The entity.</value>
        public object Entity { get; set; }
    }
}
